<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/templates/common/taglib.jsp"%>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

  <style type="text/css">
    *{margin:0;padding:0}
    body{background:#dedede}
    .printContent{width:960px;height:auto;margin:0 auto 15px;}
    .print_header{width:100%;height:40px;line-height:40px;background:#ccc;}
     .print_header h2{float:left;margin-left:400px;}
    .print_header button{width:80px;height:30px;margin:3px 2px;float:right}
    .imgContent img{border:2px solid #ccc;margin:0 0 10px;} 
  </style>
  
   <!-- <style media=print>
    .Noprint{display:none;}  
    .PageNext{page-break-after: always;display:block;width:100%}
        #ddd{width:100%}

 </style> -->
<script  src="${basePath}/static/print/js/jquery-1.4.4.min.js"></script>

<script  src="${basePath}/static/print/js/jquery.jqprint-0.3.js"></script>
<script language="javascript">

function print(){
	$(".imgContent").jqprint();
}
</script>
</head>

<body>
<div class="printContent">
	<div class="print_header">
	     <h3>打印文件列表</h3>
	     <button onclick="print()">打印</button>
	     <!-- <input class="button" type="button" onclick="aa()" value="打印"/> -->
	</div>
	<div class="imgContent">
	   
	   <c:forEach items="${urlList}" var="url"  varStatus="xh">
	       
	          <img width="100%"  src="http://127.0.0.1:8090${url}"/> 
	       
	   </c:forEach>
	    
	</div>
</div>
</body>
</html>











<%-- <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/templates/common/taglib.jsp"%>
<!doctype html>
<head>
<meta charset="utf-8">

  <style type="text/css">
    *{margin:0;padding:0}
    #ddd{width:960px;margin:0 auto;margin-bottom:15px}
  </style>
  
   <style media=print>
    .Noprint{display:none;}  
    .PageNext{page-break-after: always;display:block;width:100%}
        #ddd{width:100%}

 </style>
<script language="javascript" src="${basePath}/static/print/js/jquery-1.4.4.min.js"></script>

<script language="javascript" src="${basePath}/static/print/js/jquery.jqprint-0.3.js"></script>
<script language="javascript">

function aa(){
	$("#ddd").jqprint();
}
</script>
</head>

<body>
<div id="ddd">
  
     
      	<c:forEach items="${urlList}" var="url"  varStatus="xh">
      		
		 		<img class="PageNext" width="900"  src="http://127.0.0.1:8090${url}"/> 
			</c:forEach>
     
</div>
<input type="button" onclick="aa()" value="打印"/>
</body>
</html>










 --%>